package nuist.hanniko.stu.webbackend.service;

import com.alibaba.fastjson.JSONArray;

import java.util.Date;

public interface DeviceRecordServiceWithPeriod {

    JSONArray getResourceRecordWithinPeriod(String deviceId,
                                            String objectId,
                                            String resourceId,
                                            Date begin,
                                            Date end);

    JSONArray getObjectRecordWithinPeriod(String deviceId,
                                          String objectId,
                                          Date begin,
                                          Date end);

    JSONArray getDeviceRecordWithinPeriod(String deviceId, Date begin, Date end);
}
